package com.googlecode.dgwt.client.dojox.grid.base;

import com.googlecode.dgwt.client.dijit.Dijit;
import com.googlecode.dgwt.client.dijit.base.FocusWidget;
import com.googlecode.dgwt.client.dijit.util.Template;

public class View extends FocusWidget {
	
	
	/*
	 * // summary:
		//		A collection of grid columns. A grid is comprised of a set of views that stack horizontally.
		//		Grid creates views automatically based on grid's layout structure.
		//		Users should typically not need to access individual views directly.
		//
		// defaultWidth: String
		//		Default width of the view
		defaultWidth: "18em",

		// viewWidth: String
		// 		Width for the view, in valid css unit
		viewWidth: "",

		templatePath: dojo.moduleUrl("dojox.grid","resources/View.html"),
		
		themeable: false,
		classTag: 'dojoxGrid',
		marginBottom: 0,
		rowPad: 2,

		// _togglingColumn: int
		//		Width of the column being toggled (-1 for none)
		_togglingColumn: -1,
	 */
	
	
	/**
	 * Default width of the view
	 */
	private String defaultWidth = "18em";
	private boolean themeable = false;
	private int marginBotton = 0;
	private int rowPad = 2;
	
	private static Template template = Dijit.TEMPLATE_RESOURCES.view();

	protected View(boolean ready) {
		super(ready);
	}

	@Override
	protected void buildRendering() {
		loadFromTemplate(template);
		
		
	}
	
	

}
